package com.hl.sfzy.service.wxwappService;

import com.hl.sfzy.entity.wxwapp.IntelligentLife;
import com.hl.sfzy.mapper.wxwappMapper.IntelligentLifeMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @className: IntelligentLifeService
 * @author: WXW
 * @date: 2024/9/6 15:20
 * @Version: 1.0
 * @description:
 */
@Service
public class IntelligentLifeService {
    @Autowired
    private IntelligentLifeMapper intelligentLifeMapper;
    public List<IntelligentLife> selectAll() {
        return intelligentLifeMapper.findAll();
    }

    //根据擅长领域查询
    public List<IntelligentLife> selectBySpecialty(String excel) {
        return intelligentLifeMapper.findBySpecialty(excel);
    }
}
